package com.zpz.framework.zpzoauth.dao;

import com.zpz.framework.zpzoauth.common.dao.ZpzOauthBaseMapper;
import com.zpz.framework.zpzoauth.pojo.pe.DataGroupAccessPe;
import com.zpz.framework.zpzoauth.pojo.po.FrameDataGroup;

import java.util.List;
import java.util.Map;

/**
 * @作者 fengxm
 * @创建日期 2019-07-21 13:52
 * @描述  数据组权限mapper
 */
public interface ZpzOauthDataGroupAccessMapper extends ZpzOauthBaseMapper<FrameDataGroup> {

    List<DataGroupAccessPe> selectDateGroupAccessList(DataGroupAccessPe pe);

    Integer updateDataGroupByGroupCode(FrameDataGroup dataGroup);

    List<DataGroupAccessPe> selectDateGroupAccessListByGroupCodes(Map groupCodes);

    Integer insertDateGroupAccess(FrameDataGroup group);

    List<FrameDataGroup> selGroupCode(String groupCode);
}
